import base from '../base';

export default {
    // 首页
    // newIndex(data) {
    //     return base.post('/v2.0/notify/new-index-l', data);
    // },
    getExamInfo(data) {
        return base.get('/examinfo/get', {
            params: {
                ...data
            }
        });
    },
    addStudent(data) {
        return base.post('/student/login', data);
    },
    getQuestion(data) {
        return base.get('/student-exam/get', {
            params: {
                ...data
            }
        })
    },
    addPaper(data) {
        return base.post('/paper/add', data);
    }
}